package com.yc.spring.vote.dao;

import lombok.Data;
import org.springframework.stereotype.Repository;

// 相当于 @Repository("voteDao")
@Repository
@Data
public class VoteDao {

    String type = "Oracle";

    public void selectForLogin(String user, String name){
        System.out.println("=======selectForLogin======");
    }

    public String insertForRegister(String user, String name){
        System.out.println("=======insertForRegister======");
        return user;
    }

}
